package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 渠道博客对象 t_channel_blog
 * 
 * @author yanghuiliao
 * @date 2022-12-02
 */
public class ChannelBlog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 博客标题 */
    @Excel(name = "博客标题")
    private String name;

    /** 上级渠道ID */
    @Excel(name = "上级渠道ID")
    private Long parentId;

    @Excel(name = "上级渠道名称")
    private String parentName;

    /** 博客内容 */
    @Excel(name = "博客内容")
    private String content;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String status;

    /** 删除标识 */
    @Excel(name = "删除标识")
    private String deleteTag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDeleteTag(String deleteTag) 
    {
        this.deleteTag = deleteTag;
    }

    public String getDeleteTag() 
    {
        return deleteTag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("parentId", getParentId())
            .append("content", getContent())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("deleteTag", getDeleteTag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
